package com.slowfly.rule.engine.result;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author shalongfei
 */
@Data
public class ExecuteRiskResult implements Serializable {

    private static final long serialVersionUID = 1L;

    public static Integer NOT_HIT = 0;
    public static Integer PASS = 1;
    public static Integer AUDIT = 2;
    public static Integer REJECT = 3;

    /**
     * 风控系统生成
     */
    private long riskId;

    /**
     * 风控决策结果；0:未命中，1：通过，2：审核，3：拒绝
     */
    private Integer resultType;

    /**
     * 决策结果文案
     */
    private String resultMsg;

    /**
     * 审核ID
     */
    private String templateId;

    /**
     * 通知人
     */
    private List<String> noticeUsers;

    /**
     * 通知信息
     */
    private String noticeMsg;
}
